<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript">
        var basePath = '<%=basePath%>';
    </script>
    
    <title>My JSP 'index.jsp' starting page</title>
    <script language="javascript" src="<%=basePath %>js/XMLHttpRequest.js" type="text/javascript"></script>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <script type="text/javascript">
    	var param="TF_REP_G0198,TF_REP_G1110,TF_REP_CG055601,TF_REP_CG125102,TF_REP_CG140102";
    	alert(param);
        var saveItemInfoUrl = "";
        saveItemInfoUrl = '?className=cn.com.jsepc.rep.report.GetHandmadeReport';
        saveItemInfoUrl += '&methodName=getReport';
        saveItemInfoUrl += '&paramCount=1&param_0='+param;
        saveItemInfoUrl = basePath + 'JarpListener' + saveItemInfoUrl;
        httpR_itemInfo = getXMLHttpRequest();
        httpR_itemInfo.open("POST", saveItemInfoUrl, true);
        httpR_itemInfo.send();

    </script>
  </body>
</html>
